package com.example.library_demo.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author Eric
 * @since 2024-11-27
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("l_shelf")
public class Shelf implements Serializable {

    private static final long serialVersionUID=1L;

    /**
     * id
     */
    @TableId(value = "shelf_id", type = IdType.AUTO)
    private Long shelfId;

    /**
     * 书架名
     */
    private String shelfName;

    /**
     * 最大容量
     */
    private Integer shelfMaxNum;

    /**
     * 0 禁用 1可用
     */
    private Integer shelfStatus;

}
